vim.g.vimwiki_global_ext = 0

return {
    -- не используется
    {
        url = "https://github.com/mbbill/undotree",
        keys = {
            { "<leader>u", "<cmd>UndotreeToggle<CR>", desc = "Undo tree" },
        },
    },
    {
        'Wansmer/langmapper.nvim',
        lazy = false,
        priority = 10000,
        config = function()
            vim.opt.langmap = vim.fn.join({
                "ËЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ;~QWERTYUIOP{}ASDFGHJKL:\"ZXCVBNM<>",
                "ёйцукенгшщзхъфывапролджэячсмить;`qwertyuiop[]asdfghjkl\\;\'zxcvbnm",
            }, ',')

            require("langmapper").setup()
        end
    },
    {
        url = "https://github.com/norcalli/nvim-colorizer.lua",
        main = "colorizer",
        events = "VeryLazy",
        opts = { "*", javascript = { css = true }, css = { css = true } },
    },
    {
        url = "https://github.com/lewis6991/gitsigns.nvim",
        config = function()
            require("gitsigns").setup({
                current_line_blame = true,
                signs = { delete = { text = "┋" } },
                signs_staged = { delete = { text = "┋" } },
            })
        end,
    },

    "https://github.com/itmammoth/doorboy.vim",
    {
        "https://github.com/vimwiki/vimwiki",
        keys = {
            { "<leader>ww", "<cmd>VimwikiIndex<cr>" },
        },
    },
    {
        "https://github.com/nvim-telescope/telescope.nvim",
        dependencies = { "https://github.com/nvim-lua/plenary.nvim" },
        keys = {
            { "<leader>fs", "<cmd>Telescope find_files<CR>" },
            { "<leader>fg", "<cmd>Telescope live_grep<CR>" },
        }
    },
    -- {
    --     dir = "~/polygone/nvdoom",
    --     lazy = false,
    --     opts = {
    --         doom_ascii_path = "/home/user/polygone/nvdoom/doom-ascii/doom_ascii/doom_ascii",
    --         iwad = "~/.config/gzdoom/freedoom1.wad",
    --         pwads = {},
    --     }
    -- }
}
